Nevron .NET Vision
Nevron.GraphicsCore Namespace / NPolylineF Class / PercentAngle Method / PercentAngle(Single,IList<NPointF>,Single) Method
The vertices of the polyline.
The percent value.


In This Topic
    PercentAngle(Single,IList<NPointF>,Single) Method
    In This Topic
    Computes the angle corresponding to the specified percent along a polyline.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function PercentAngle( _
       ByVal length As System.Single, _
       ByVal vertices As System.Collections.Generic.IList(Of NPointF), _
       ByVal percent As System.Single _
    ) As System.Single
    'Usage
     
    
    Dim length As System.Single
    Dim vertices As System.Collections.Generic.IList(Of NPointF)
    Dim percent As System.Single
    Dim value As System.Single
     
    value = NPolylineF.PercentAngle(length, vertices, percent)
    public static System.float PercentAngle( 
       System.float length,
       System.Collections.Generic.IList<NPointF> vertices,
       System.float percent
    )

    Parameters

    length
    vertices
    The vertices of the polyline.
    percent
    The percent value.

    Return Value

    The orientation (in radians) corresponding to the given percent.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also